Getting Started
Welcome to the NightShark knowledge base. This tutorial track focuses on the scripting fundamentals you need to automate trades quickly and safely.
What You’ll Learn
- How NightShark represents on-screen data through points and areas
- The core functions—
read_areas(),Click(), andtoNumber()—that power every strategy - Techniques for structuring reusable logic with variables, loops, and custom functions
How the Tutorials Are Organized
- Foundations — Meet the built-in helpers and learn how to map your trading platform.
- State Management — Capture data with variables and convert raw text into numbers.
- Decision Logic — Combine conditional checks with loops to automate reactions.
- Action Routines — Orchestrate clicks and orders without manual intervention.
Each article includes actionable snippets you can paste directly into a NightShark script.
Prerequisites
- NightShark desktop app installed and linked to a test account
- Familiarity with basic trading concepts (entries, exits, stop losses)
- A simulator or paper trading environment for experimentation
Prefer hands-on practice?
Keep the NightShark editor open alongside these docs so you can tweak the examples as you read.
Next Steps
Start with Pre-Built Functions to learn the building blocks, then progress in order. By the end of the series you will have a flexible template ready to adapt to your own strategy ideas.